home *** CD-ROM | disk | FTP | other *** search
/ BlastDOS / [DOS_Application]_BIT_Software_-_BitCom_3.58c_-_Distribution_Disks.zip / EMULATE.TXT < prev    next >
Text File  |  1989-10-05  |  29KB  |  615 lines

  1.  
  2.  
  3.  
  4.                                                                        1
  5.  
  6.  
  7.  
  8.                                  Terminal Emulation
  9.                                  ------------------
  10.             
  11.             What is Emulation?
  12.             ------------------
  13.             The emulation  feature  allows  you  to  let  your  personal
  14.             computer act  like, or  emulate, a  terminal such as the DEC
  15.             VT-100, the IBM 3101, or the Wyse 50.
  16.             
  17.             For example,  if a  certain sequence  received from the host
  18.             computer instructs  a terminal  to  clear  the  screen,  the
  19.             emulation feature  will tell BitCom to clear the screen when
  20.             that same sequence is received.
  21.             
  22.             If the  host computer  that you  are connected  to uses full
  23.             screen applications  such as an accounting system or editor,
  24.             you may  need to  use the  terminal emulation feature.  Most
  25.             other systems  such as  CompuServe or  Easylink display text
  26.             line by  line.   These types  of systems  do not need to use
  27.             emulation.   If you are not sure whether emulation is needed
  28.             or not,  check with  the company  or department  running the
  29.             host computer.
  30.             
  31.             Generally, you  should not  use  emulation  unless  you  are
  32.             specifically instructed to emulate a particular terminal.
  33.             
  34.             An  exception   to  this   is  many   BBS's  that  use  ANSI
  35.             color/graphics.   If you have a graphics monitor and want to
  36.             take advantage of this, use the ANSI emulation file.
  37.             
  38.             BitCom's emulation  files are  programmable.  This means you
  39.             can change  many options,  keys or  colors by editing a file
  40.             called the  emulation file.  The emulation file tells BitCom
  41.             what keys  to use,  what characters  to filter,  and how  to
  42.             enable certain  functions.   The emulation  file is  a  text
  43.             (ASCII) file,  so you  can edit  or change it using any text
  44.             editor.
  45.             
  46.             Included on  the BitCom diskette are the following emulation
  47.             files.
  48.             
  49.                  ANSI.EMU for ANSI color/graphics support
  50.                  VT100A.EMU for DEC VT-100 with ANSI support
  51.                  VT100B.EMU for DEC VT-100 with ANSI and VT-52 support
  52.                  3101.EMU for IBM 3101 terminal
  53.                  WYSE50.EMU for Wyse 50 terminal
  54.                  WYSE60.EMU for Wyse 60 terminal
  55.                  TVI920.EMU for Televideo 920 terminal
  56.                  TVI9XX.EMU for Televideo 900 series terminals
  57.             
  58.             Keyboard mapping  for these terminals is shown at the end of
  59.             this section.
  60.  
  61.  
  62.                                                                        2
  63.  
  64.  
  65.  
  66.             
  67.             Using Terminal Emulation
  68.             ------------------------
  69.             To set  up a  phone number record to use terminal emulation,
  70.             follow the steps below.
  71.             
  72.             1.   From the Communications Selection Menu, press the up or
  73.                  down arrow keys until the pointer is next to the record
  74.                  requiring terminal emulation.
  75.             
  76.             2.   Press 'S'  to Show  More.   This will  take you  to the
  77.                  Communications Parameters Menu.
  78.             
  79.             3.   Highlight the  'Emulation' field' by pressing the up or
  80.                  down arrow keys.
  81.             
  82.             4.   Type in  the emulation  file  name,  without  the  .EMU
  83.                  filename extension.  For example, to use the VT100A.EMU
  84.                  file, you would type in VT100A.
  85.             
  86.             5.   If you  are using  an emulation  file such as ANSI that
  87.                  supports color/graphics,  set the  'Input' and 'Output'
  88.                  fields to  No.   To do this, press the up or down arrow
  89.                  keys until  the appropriate  field is highlighted, then
  90.                  the right or left arrow keys until 'No' is displayed in
  91.                  the field.
  92.             
  93.             6.   If you are using an emulation file other than ANSI, you
  94.                  also need  to change  the BitCom special keys that will
  95.                  conflict  with   the  function   keys  defined  in  the
  96.                  emulation file.   If you need to do this follow steps 7
  97.                  through 10.   If  you do  not need  to do this, jump to
  98.                  step 11.
  99.             
  100.             7.   Press the up or down arrow keys until the first special
  101.                  key (Help) is highlighted.
  102.             
  103.             8.   Press <Esc>.
  104.             
  105.             9.   Press the  new key value.  You might want to use Alt-F1
  106.                  or Shift-F1.
  107.             
  108.             10.  Repeat steps  7 through  10 for  the Escape, Print, and
  109.                  Snapshot keys.
  110.             
  111.             11.  Press  <F2>.     This   will  take   you  back  to  the
  112.                  Communications Selection Menu.
  113.             
  114.             12.  When you  connect with  your host  computer using  this
  115.                  record,   the    emulation   file   will   be   invoked
  116.                  automatically.     Your  keyboard   will  simulate  the
  117.                  appropriate terminal that you have chosen to emulate.
  118.  
  119.  
  120.                                                                        3
  121.  
  122.  
  123.  
  124.             
  125.             How Terminal Emulation Works
  126.             ----------------------------
  127.             Terminal emulation usually involves translating the commands
  128.             that are  sent  to  and  from  the  host  computer,  to  the
  129.             functions that  are defined  by the  terminal manufacturers.
  130.             These commands usually, but not always, start with the ASCII
  131.             code  ESC  (hexadecimal  1B),  followed  by  a  sequence  of
  132.             characters.   Therefore, this  sequence is commonly known as
  133.             an escape  sequence.   The escape  sequence definitions  are
  134.             different from terminal to terminal.
  135.             
  136.             For example, the DEC VT-100 uses a different escape sequence
  137.             than the  IBM 3101.   If  you need  more  information  about
  138.             particular   escape    sequences,   consult   the   terminal
  139.             manufacturer's hardware reference manual.
  140.             
  141.             Some terminals,  such as  the Televideo  and the  Wyse,  use
  142.             control codes  in addition  to escape  sequences.    Control
  143.             codes are  displayed in  an emulation  file as a hexadecimal
  144.             number, preceded by a dollar sign ( $ ).
  145.             
  146.             If you  are  not  familiar  with  programming  concepts,  we
  147.             suggest that you do not attempt to modify existing emulation
  148.             files by yourself.
  149.             
  150.             Common Problems Using Terminal Emulation
  151.             ----------------------------------------
  152.             When using  terminal emulation, you may sometimes experience
  153.             one of the following problems.
  154.             
  155.             **Problem**
  156.                  When using emulation, the function keys do not work for
  157.             the application  that is  being used.  For instance, instead
  158.             of <F1>  acting like  the Gold Key on a VT-100, it brings up
  159.             the BitCom Help Screen when pressed.
  160.             
  161.             **Solution**
  162.                  The  BitCom  special  keys  are  conflicting  with  the
  163.             function keys  that  are  defined  in  the  emulation  file.
  164.             Normally, BitCom  will use F1 through F5.  Change the BitCom
  165.             special keys  on the  Communications Parameters Menu for the
  166.             record that  is using emulation.  You may want to use Alt-F1
  167.             through Alt-F5, or Shift-F1 through Shift-F5.
  168.             
  169.             **Problem**
  170.                  The  screen   displays  a  set  of  strange  characters
  171.